package cn.simple.filetools.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;

/**
 * @author jiangjinjian
 * @date 2024/8/27 20:45
 * @description 操作类型
 */
@AllArgsConstructor
@Getter
public enum OperateType {

    IMPORT,

    IMPORT_EXPORT,

    EXPORT,

    ;

    public final static List<OperateType> IMPORT_OPERATE_LIST = Stream.of(IMPORT, IMPORT_EXPORT).collect(Collectors.toList());

    public final static List<OperateType> EXPORT_OPERATE_LIST = Stream.of(EXPORT, IMPORT_EXPORT).collect(Collectors.toList());

}
